package note;

public class TextNote implements Note {
    private String text;

    public TextNote(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return text;
    }
}
